package org.blogwu.learn.designpattern.chapter6.v1;

/**
 * Java  视频 以及配套手记 工厂
 */
public class JavaCourseFactory implements CourseFactory {
    @Override
    public Video getVideo() {
        return new JavaVideo();
    }

    @Override
    public Article getArticle() {
        return new JavaArticle();
    }
}
